package com.tengju.bff.interfaces.covercharge.entity.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务费冻结记录表
 * </p>
 *
 * @author zhaoyi
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_service_frozen_detail")
public class ServiceFrozenDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * idcode
     */
    @TableField("id_code")
    private Integer idCode;

    /**
     * 业务ID
     */
    @TableField("biz_id")
    private Integer bizId;

    /**
     * 提现周期ID
     */
    @TableField("cycle_add_id")
    private Integer cycleAddId;

    /**
     * 业务类型：服务费申请
     */
    @TableField("biz_code")
    private String bizCode;

    /**
     * 收益账户id
     */
    @TableField("account_id")
    private Integer accountId;

    /**
     * 冻结金额
     */
    @TableField("freeze_amount")
    private BigDecimal freezeAmount;

    /**
     * 1冻结 2解冻
     */
    @TableField("status")
    private Integer status;

    /**
     * 创建人
     */
    @TableField("created_by")
    private String createdBy;

    /**
     * 更新人
     */
    @TableField("updated_by")
    private String updatedBy;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    @TableField("updated_time")
    private LocalDateTime updatedTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;


}
